const state = {
  rowData: null
}
const getters = {
  rowData: state => state.rowData
}
const mutations = {
  ADD_ERROR_LOG: (state, log) => {
    state.rowData = log
  }
}

const actions = {
  addErrorLog({ commit }, log) {
    commit('ADD_ERROR_LOG', log)
  }
}

export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
}
